﻿#region Copyright (C) Sector7 Software Studio. All rights reserved
/*******************************************************************************************
 * Creation
 *      Author:         Wolf Lai
 *      Date:           2012/2/8 19:10:40
 *      Version:        
 * Modification 
 *      Author: 
 *      Date: 
 *      Description: 
 *      Version:
 *******************************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Sector7.Restaurant.EntityType
{
    /// <summary>
    /// 包间信息实体
    /// </summary>
    [Serializable()]
    [DataContract]
    public class RS_Room : Entity
    {
        #region Inner members
        private int _roomId;
        private string _roomName = string.Empty;
        private int _roomType;
        private List<RS_Table> _tables = new List<RS_Table>();
        #endregion

        #region Accessor
        /// <summary>
        /// 获取或设置包间编号
        /// </summary>
        [DataMember]
        public int RoomId
        {
            get { return _roomId; }
            set { _roomId = value; }
        }

        /// <summary>
        /// 获取或设置包间名称
        /// </summary>
        [DataMember]
        public string RoomName
        {
            get { return _roomName; }
            set { _roomName = value; }
        }

        /// <summary>
        /// 获取或设置包间类型
        /// </summary>
        [DataMember]
        public int RoomType
        {
            get { return _roomType; }
            set { _roomType = value; }
        }

        /// <summary>
        /// 获取或设置包间桌位列表
        /// </summary>
        [DataMember]
        public List<RS_Table> Tables
        {
            get { return _tables; }
            set { _tables = value; }
        }
        #endregion
    }
}
